package cn.gcjxsc.common.data.notify.order;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author pumbaa
 * @since 1.0
 */
public class ResultHandleData {
    @NotEmpty(message = "交易号不能为空")
    private String tradeNo;
    private String outTradeNo;
    @NotEmpty(message = "订单号不能为空")
    private String sn;
    private Long amount;

    private String attach;

    @NotEmpty(message = "签名不能为空")
    private String sign;

    @NotEmpty(message = "无效订单类型")
    private String discr;

    @NotEmpty(message = "通道信息不能为空")
    private String channel;

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getDiscr() {
        return discr;
    }

    public void setDiscr(String discr) {
        this.discr = discr;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
